﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MensUnoShop.Models.ViewModels.RegionViewModel>" %>
<%@ Import Namespace="MensUnoShop.Helpers" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	men'suno SHOP
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="CONTENT2">
    <div class="CONTENT_LEFT">
        <ul>
            <%Html.RenderPartial("/Views/Shared/SearchBox.ascx"); %>
            <%Html.RenderPartial("/Views/Shared/ProductTitle.ascx", Model.LEFTTAG); %>
            <%Html.RenderPartial("/Views/Shared/HotSearch.ascx", Model.HOTKEYLIST); %>
            <%Html.RenderPartial("/Views/Shared/News.ascx",Model.NEWS); %>
        </ul>
    </div>
    <div class="CONTENT_RIGHT">
        <p class="FAST_LINK"><%=Html.GetNavLinkString(Model.NAVLIST)%></p>
        <ul class="PRODUCT_LIST">
            <li>
            <%int i = 0; foreach (var sm in Model.MARKETLIST)
              { %>

                <div class="PRODUCT_LIST2">
                        <ul>
                            <li><a href="<%:sm.GetMarketUri() %>"><img src="<%:sm.IMG %>" style="width:135px;height:135px;" /></a></li>
                            <%if (sm.GROUPTITLE != "N/A")
                              { %><li>【<%:sm.GROUPTITLE%>系列】</li><%} %>
                            <li><a href="<%:sm.GetMarketUri() %>"><%:sm.TITLE%> <%:sm.COLORTITLE%></a></li>
                            <%if (sm.TYPE != MensUnoShop.Models.Config.MarketType.Mangazine)
                              { %>
                            <li>Orig. price <%:sm.SHOPPRICE%> </li>
                            <li>Price <span class="PRODUCT_LIST2_PRICE"><%:sm.PRICE%></span> </li>
                            <%}
                              else
                              { %>
                            <li>新訂戶 <%:sm.SHOPPRICE%> </li>
                            <li>舊訂戶 <span class="PRODUCT_LIST2_PRICE"><%:sm.PRICE%></span> </li>
                            <%} %>
                        </ul>
                    </div>
            <%i++;
              if (i % 4 == 0) { %><br class="CLEAR" /><%}
              } %>
            <br class="CLEAR" />
            </li>
            <li>
            <%if (false)
              { %>
            <div class="PAGES">
            <ul>
            <li><p class="PAGE_PRIV"><a href="#">priv</a></p></li>
            <li><a href="#">1</a></li>
            <li><a href="#">2</a></li>
            <li><a href="#">3</a></li>
            <li><a href="#">4</a></li>
            <li><a href="#">5</a></li>
            <li><a href="#">6</a></li>
            <li><a href="#">7</a></li>
            <li><a href="#">8</a></li>
            <li><a href="#">9</a></li>
            <li><a href="#">10</a></li>
            <li><p class="PAGE_NEXT"><a href="#">next</a></p></li>
            </ul>
            <br class="CLEAR" />
            </div>
            <%} %>
            </li>
        </ul>
        <img src="/Content/page_img/content2_bottom.gif" />
    </div>
    <br class="CLEAR" />
</div>
</asp:Content>
